package com.powernode.vo;

import com.powernode.domain.SysMenu;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * 菜单和权限 格式展示视图
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("菜单和权限集合")
public class MenuAndPermsVo {

    @ApiModelProperty("菜单集合")
    private Set<SysMenu> menuList;

    @ApiModelProperty("权限集合")
    private Set<String> authorities;
}
